export default {
  created() {
    console.log(this.$store.getters.userInfo)
  },
  methods: {
    pointsUserData(key) {
      const point = this.$store.getters.userInfo.roles
      if (point.points.length) {
        return !point.points.some(item => item === key)
      }
      return false
    }
  }
}
